

# 存放游戏中所有设置的类
class Settings:
    def __init__(self):
        # 屏幕设置
        # 宽
        self.screen_width = 1200
        # 高
        self.screen_height = 800
        # 背景颜色
        self.bg_color = (230, 230, 230)
        # 飞船速度设置
        self.ship_speed = 1.5

        # 子弹设置
        self.bullet_speed = 1.5
        self.bullet_width = 3
        self.bullet_height = 15
        self.bullets_allowed = 3
        self.bullet_color = (60, 60, 60)

